<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title></title>
    <script>
    let arr=[12,5,88,34,32,19];

    /*arr.sort(function (n1, n2){
      return n1-n2;
    });*/
    arr.sort((n1, n2)=>{
      return n1-n2;
    });

    alert(arr);
    </script>
  </head>
  <body>
  </body>
</html>
